﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pttcm.aspx.cs" Inherits="TONLI.TJOA.pttcm" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3.Export, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 595px">
            <tr>
                <td style="width: 172px; height: 7px">
                    <span style="font-size: 10pt; font-family: 宋体">选择月份：</span>
                </td>
                <td style="width: 271px; height: 7px">
                    &nbsp;<asp:DropDownList ID="DropDownList3" runat="server">
                        <asp:ListItem>2006</asp:ListItem>
                        <asp:ListItem>2007</asp:ListItem>
                        <asp:ListItem>2008</asp:ListItem>
                        <asp:ListItem>2009</asp:ListItem>
                        <asp:ListItem>2010</asp:ListItem>
                        <asp:ListItem>2011</asp:ListItem>
                        <asp:ListItem>2012</asp:ListItem>
                        <asp:ListItem>2013</asp:ListItem>
                        <asp:ListItem>2014</asp:ListItem>
                        <asp:ListItem>2015</asp:ListItem>
                        <asp:ListItem>2016</asp:ListItem>
                        <asp:ListItem>2017</asp:ListItem>
                        <asp:ListItem>2018</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="DropDownList4" runat="server">
                        <asp:ListItem>01</asp:ListItem>
                        <asp:ListItem>02</asp:ListItem>
                        <asp:ListItem>03</asp:ListItem>
                        <asp:ListItem>04</asp:ListItem>
                        <asp:ListItem>05</asp:ListItem>
                        <asp:ListItem>06</asp:ListItem>
                        <asp:ListItem>07</asp:ListItem>
                        <asp:ListItem>08</asp:ListItem>
                        <asp:ListItem>09</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList></td>
                <td style="height: 7px; width: 101px;">
                    <dxe:ASPxButton ID="ASPxButton1" runat="server" Text="查询" CssPostfix="Office2003_Blue" OnClick="ASPxButton1_Click">
                    </dxe:ASPxButton>
                </td>
                <td style="width: 710px; height: 7px">
                    <dxe:ASPxButton ID="ASPxButton2" runat="server" CssPostfix="Office2003_Blue" Text="导出" OnClick="ASPxButton2_Click">
                    </dxe:ASPxButton>
                </td>
            </tr>
        </table>
    
    </div>
        <dxwgv:aspxgridview id="ASPxGridView1" runat="server" autogeneratecolumns="False"
            cssfilepath="~/App_Themes/Office2003 Blue/{0}/styles.css" csspostfix="Office2003_Blue"
            datasourceid="ObjectDataSource1" width="630px" KeyFieldName="Uid" OnCellEditorInitialize="ASPxGridView1_CellEditorInitialize" OnRowUpdating="ASPxGridView1_RowUpdating">
<SettingsText Title="安全信息奖罚统计表" CommandCancel="取消" CommandUpdate="修改" PopupEditFormCaption="修改信息"></SettingsText>

<SettingsPager PageSize="18"></SettingsPager>

<Images ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
<ExpandedButton Height="12px" Width="11px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"></ExpandedButton>

<CollapsedButton Height="12px" Width="11px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"></CollapsedButton>

<DetailCollapsedButton Height="12px" Width="11px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"></DetailCollapsedButton>

<DetailExpandedButton Height="12px" Width="11px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"></DetailExpandedButton>
</Images>

<Settings ShowTitlePanel="True" ShowFooter="True"></Settings>

<SettingsEditing Mode="PopupEditForm"></SettingsEditing>

<Styles CssPostfix="Office2003_Blue" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css">
<LoadingPanel ImageSpacing="10px"></LoadingPanel>

<Header SortingImageSpacing="5px" ImageSpacing="5px"></Header>
</Styles>

<SettingsBehavior ConfirmDelete="True"></SettingsBehavior>
<Columns>
    <dxwgv:GridViewDataTextColumn Caption="顺号" FieldName="S1" VisibleIndex="0">
        <EditFormSettings Visible="False" />
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewDataTextColumn Caption="项目" FieldName="Xm" VisibleIndex="1">
        <EditFormSettings Visible="False" />
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewDataSpinEditColumn Caption="数量" FieldName="Sl" VisibleIndex="2">
        <PropertiesSpinEdit DisplayFormatString="g" NumberFormat="Custom">
        </PropertiesSpinEdit>
    </dxwgv:GridViewDataSpinEditColumn>
    <dxwgv:GridViewDataSpinEditColumn Caption="奖励" FieldName="Jl" VisibleIndex="3">
        <PropertiesSpinEdit DisplayFormatString="g" NumberFormat="Custom">
        </PropertiesSpinEdit>
    </dxwgv:GridViewDataSpinEditColumn>
    <dxwgv:GridViewDataSpinEditColumn Caption="罚款" FieldName="Fk" VisibleIndex="4">
        <PropertiesSpinEdit DisplayFormatString="g" NumberFormat="Custom">
        </PropertiesSpinEdit>
    </dxwgv:GridViewDataSpinEditColumn>
    <dxwgv:GridViewDataMemoColumn Caption="备注" FieldName="Bz" VisibleIndex="5">
    </dxwgv:GridViewDataMemoColumn>
    <dxwgv:GridViewDataTextColumn Caption="创建时间" FieldName="Cj" VisibleIndex="6" Visible="False">
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewDataTextColumn Caption="时间" FieldName="Sj" VisibleIndex="7" Visible="False">
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewDataTextColumn Caption="S1" FieldName="Uid" VisibleIndex="9" Visible="False">
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewDataTextColumn Caption="S2" FieldName="S2" VisibleIndex="9" Visible="False">
    </dxwgv:GridViewDataTextColumn>
    <dxwgv:GridViewCommandColumn Caption="修改" VisibleIndex="6">
        <ClearFilterButton Visible="True">
        </ClearFilterButton>
        <EditButton Text="修改" Visible="True">
        </EditButton>
    </dxwgv:GridViewCommandColumn>
</Columns>
<TotalSummary>
                        <dxwgv:ASPxSummaryItem DisplayFormat="合计:" FieldName="Xm" ShowInColumn="项目" SummaryType="Sum"/>
                            <dxwgv:ASPxSummaryItem DisplayFormat="0.##" FieldName="Sl" ShowInColumn="数量"
                                SummaryType="Sum" />
                            <dxwgv:ASPxSummaryItem DisplayFormat="0.##" FieldName="Jl" ShowInColumn="奖励"
                                SummaryType="Sum" />
                            <dxwgv:ASPxSummaryItem DisplayFormat="0.##" FieldName="Fk" ShowInColumn="罚款"
                                SummaryType="Sum" />
                              </TotalSummary>
</dxwgv:aspxgridview>

        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" TypeName="TONLI.TJOA.Anquan.AQK_LJ_Manage" SelectMethod="GetAQK_PEAX" UpdateMethod="Updatecarddata"><UpdateParameters>
<asp:SessionParameter SessionField="update" Name="update"></asp:SessionParameter>
</UpdateParameters>
<SelectParameters>
<asp:SessionParameter SessionField="S1" Name="S1"></asp:SessionParameter>
</SelectParameters>
</asp:ObjectDataSource>
        <dxwgv:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="ASPxGridView1">
        </dxwgv:ASPxGridViewExporter>
    </form>
</body>
</html>
